From: Florian Müllner Date: Fri, 8 Mar 2013 13:18:06 +0000 (+0100) Subject: ctrlAltTab: Fix external DOCK windows X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4481 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a32f27a2aaaf0afa2ab101ca4ca3015061a2eb37;p=gnome-shell.git ctrlAltTab: Fix external DOCK windows We always add external DOCK windows to the ctrl-alt-tab switcher, e.g. separate dock applications or nautilus' desktop windows. Since commit 1f46a0dc26d81, all items in the switcher are expected to set a proxy parameter, but the aforementioned code was not updated accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=695395 --- diff --git a/js/ui/ctrlAltTab.js b/js/ui/ctrlAltTab.js index efab87b81..f751cb129 100644 --- a/js/ui/ctrlAltTab.js +++ b/js/ui/ctrlAltTab.js @@ -103,6 +103,11 @@ const CtrlAltTabManager = new Lang.Class({ else icon = textureCache.bind_pixbuf_property(windows[i], 'icon'); items.push({ name: windows[i].title, + proxy: windows[i].get_compositor_private(), + focusCallback: Lang.bind(windows[i], + function(timestamp) { + Main.activateWindow(this, timestamp); + }), iconActor: icon, sortGroup: SortGroup.MIDDLE }); }